from django.urls import path
from posters.views import PostersView, PosterRecordsView, PostersChatView, ChatSessionDetailView, DoubaoPostersView
urlpatterns = [
    path('posters/', PostersView.as_view(), name='poster-generate'),
    path('records/', PosterRecordsView.as_view(), name='poster-records'),
    path('chat/sessions/<uuid:session_id>/', ChatSessionDetailView.as_view(), name='chat-session-detail'),
    path('chat/sessions/', PostersChatView.as_view(), name='chat-sessions'),
    path('chat/', PostersChatView.as_view(), name='poster-chat'),
    path('modify/', DoubaoPostersView.as_view(), name='poster-modify')
]